/* styles.css */
/* .container-list {
  position: absolute;
  top: 10%;
} */
.container {
  width: 700px;
  position: relative;
  margin-top: 20%;
  /* font-family: "Courier New, Courier, monospace"; */
  /* font-weight: bold; */
}

.heading {
  text-align: center;
  font-size: 40px;
  font-family: "Courier New, Courier, monospace";
  font-weight: bold;
  color: #f5f5dc;
}

.petInfo {
  margin-right: 5px;
  height: 300px;
  width: 150px;
  background-color: #ffffe0;
  align-items: center;
  border-radius: 10px;
}
.cropped-image {
  width: 150px; /* 指定宽度 */
  height: 150px; /* 指定高度 */
  overflow: hidden; /* 超出部分隐藏 */
}

.cropped-image img {
  /* width: 100%; */
  /* height: auto; */
  width: 150px;
  /* height: 150px; 设置图片的高度 */
  object-fit: cover; /* 指定图片如何适应容器，cover 表示裁剪并填充 */
  object-position: center; /* 指定图片在容器中的位置，center 表示居中裁剪 */
}

.panel {
  background-color: #ffffe0;
}
.panel-title {
  margin: auto;
}

.panel-heading {
  /* background-color: #ffffe0; */
  height: 10%;
  text-align: center;
  margin: 0 auto;
}
.pet-image {
  position: relative;
  height: 150px;
}
.img-rounded {
  width: 100%;
  height: 100%;
}

.text-center {
  text-align: center;
  font-size: "40px";
  font-family: "Courier New, Courier, monospace";
  font-weight: "bold";
  color: "#F5F5DC";
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: red;
}

.btn-adopt {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px 20px;
  transition: background-color 0.3s;
}

.btn-adopt:hover {
  background-color: #0056b3;
}
